/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package elaborate.tag_analysis.client.applications;

import elaborate.tag_analysis.restws.client.ResourceDao;
import elaborate.tag_analysis.restws.client.TURRelationDao;
import elaborate.tag_analysis.restws.client.TagDao;
import elaborate.tag_analysis.restws.client.UserDao;

/**
 *
 * @author lendle
 */
public class DefaultDaoFactory implements DaoFactory{

    @Override
    public ResourceDao createResourceDao() throws Exception {
        return new ResourceDao("http://taganalysis.appspot.com/rest/resource");
    }

    @Override
    public TURRelationDao createTURRelationDao() throws Exception {
        return new TURRelationDao("http://taganalysis.appspot.com/rest/tur");
    }

    @Override
    public TagDao createTagDao() throws Exception {
        return new TagDao("http://taganalysis.appspot.com/rest/tag");
    }

    @Override
    public UserDao createUserDao() throws Exception {
        return new UserDao("http://taganalysis.appspot.com/rest/user");
    }
    
}
